package com.miracle.login.module.mvp.contract;

import com.miracle.basemvp.base.BaseResponse;
import com.miracle.basemvp.base.IModel;
import com.miracle.basemvp.base.IView;
import com.miracle.login.module.mvp.entity.request.LoginRequest;
import com.miracle.login.module.mvp.entity.request.RegisterRequest;
import com.miracle.login.module.mvp.entity.response.LoginResponse;

import io.reactivex.Observable;

/**
 * com.miracle.login.module.mvp.contract
 * (c)2018 AIR Times Inc. All rights reserved.
 *
 *
 * @author WangJQ
 * @version 1.0
 * @date 2018/7/5 14:19
 * @see com.miracle.login.module.mvp.contract
 */
public interface RegisterContract {
    interface Model extends IModel {
        Observable<BaseResponse<String>> register(RegisterRequest request);
    }

    interface View extends IView {
        void registerSucc();
    }

}
